<?
	global $db, $products;
	
	$sql = "select * from products where active = 1 order by view desc limit 20";
	
	//echo $sql;
	$products = $db->getAll($sql);
	
	include(UC_DIR_TPL.'ProductFav.ctp');
?>